package com.wufeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName knowledge
 */
@TableName(value ="knowledge")
@Data
public class Knowledge implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "knowledgeId")
    private Integer knowledgeid;

    /**
     * 作者id
     */
    @TableField(value = "authorId")
    private Integer authorid;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 简介
     */
    @TableField(value = "brief")
    private String brief;

    /**
     * 内容，用!@#分割图片和文字
     */
    @TableField(value = "content")
    private String content;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createtime;

    /**
     * 更新时间
     */
    @TableField(value = "updateTime")
    private Date updatetime;

    /**
     * 是否轮播
     */
    @TableField(value = "isCarousel")
    private Integer iscarousel;

    /**
     * 封面地址
     */
    @TableField(value = "cover")
    private String cover;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}